Component({
    properties: {
        items: {
            type: null
        }
    },
    data: {},
    methods: {
        toClassify: function(t) {
            var a = t.currentTarget.dataset.id;
            this.data.skipshow ? wx.redirectTo({
                url: "/packageC/o2o/o2oCategory/o2oCategory?id=" + a + "&city=" + this.data.cityData + "&point=" + JSON.stringify(this.data.pointData)
            }) : wx.navigateTo({
                url: "/packageC/o2o/o2oCategory/o2oCategory?id=" + a + "&city=" + this.data.cityData + "&point=" + JSON.stringify(this.data.pointData)
            });
        },
        goToAdress: function(t) {
            var a = t.currentTarget.dataset.items.latitude, e = t.currentTarget.dataset.items.longitude, o = t.currentTarget.dataset.items.store_name, i = app.BMapTransqqMap(parseFloat(e), parseFloat(a));
            wx.openLocation({
                latitude: i.lat,
                longitude: i.lng,
                scale: 18,
                name: o
            });
        },
        toGood: function(t) {
            var a = t.currentTarget.dataset.goods_id;
            wx.navigateTo({
                url: "/packageA/detail_v2/detail_v2?id=" + a
            });
        }
    }
});